<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libxcb-1.13.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;24.&nbsp;X Window System Environment
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="xcb-proto.html" title=
          "xcb-proto-1.13">Prev</a>
          <p>
            xcb-proto-1.13
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="x7lib.html" title="Xorg Libraries">Next</a>
          <p>
            Xorg Libraries
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="installing.html" title=
          "Chapter&nbsp;24.&nbsp;X Window System Environment">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libxcb" name="libxcb"></a>libxcb-1.13.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libxcb
        </h2>
        <p>
          The <span class="application">libxcb</span> package provides an
          interface to the X Window System protocol, which replaces the
          current Xlib interface. Xlib can also use XCB as a transport layer,
          allowing software to make requests and receive responses with both.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://xcb.freedesktop.org/dist/libxcb-1.13.1.tar.bz2">https://xcb.freedesktop.org/dist/libxcb-1.13.1.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: f33cdfc67346f7217a9326c0d8679975
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 496 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 43 MB (with tests, add 62 MB
                for doxygen docs)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU (with tests, add 1.4 SBU for
                doxygen docs)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libxcb Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libXau.html" title=
          "libXau-1.0.9">libXau-1.0.9</a> and <a class="xref" href=
          "xcb-proto.html" title="xcb-proto-1.13">xcb-proto-1.13</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="libXdmcp.html" title=
          "libXdmcp-1.1.3">libXdmcp-1.1.3</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> (to generate API documentation)
          and <a class="xref" href="../general/libxslt.html" title=
          "libxslt-1.1.34">libxslt-1.1.34</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libxcb">http://wiki.linuxfromscratch.org/blfs/wiki/libxcb</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libxcb
        </h2>
        <p>
          Install <span class="application">libxcb</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">sed -i "s/pthread-stubs//" configure &amp;&amp;

./configure $XORG_CONFIG      \
            --without-doxygen \
            --docdir='${datadir}'/doc/libxcb-1.13.1 &amp;&amp;
make</kbd>
</pre>
        <p>
          If you wish to run the tests, adapt the test suite to Check-0.13.0+
          using the following commands:
        </p>
        <pre class="userinput">
<kbd class=
"command">sed -i "s/TFun tf/const TTest *tt/" tests/check_all.c tests/check_suites.h &amp;&amp;
sed -i "s/tcase_add_test(tc, tf);/tcase_add_test(tc, tt);/" tests/check_all.c</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed "s/pthread-stubs//" -i
          configure</strong></span>: This sed removes a dependency on the
          libpthread-stubs package which is useless on Linux.
        </p>
        <p>
          <em class="parameter"><code>--without-doxygen</code></em>: Do not
          use doxygen to generate API documentation (default: auto). Without
          it, if <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> is installed, the API
          documentation will be generated and installed.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libxcb.so, libxcb-composite.so,
              libxcb-damage.so, libxcb-dpms.so, libxcb-dri2.so,
              libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
              libxcb-randr.so, libxcb-record.so, libxcb-render.so,
              libxcb-res.so, libxcb-screensaver.so, libxcb-shape.so,
              libxcb-shm.so, libxcb-sync.so, libxcb-xf86dri.so,
              libxcb-xfixes.so, libxcb-xinerama.so, libxcb-xinput.so,
              libxcb-xkb.so, libxcb-xtest.so, libxcb-xvmc.so, and
              libxcb-xv.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody"><code class=
              "envar">$XORG_PREFIX</code>/include/xcb and <code class=
              "envar">$XORG_PREFIX</code>/share/doc/libxcb-1.13.1</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libxcb-lib" name="libxcb-lib"></a><span class=
                    "term"><code class="filename">libxcb.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an interface to the X Window System protocol.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-15 20:23:35 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="xcb-proto.html" title=
          "xcb-proto-1.13">Prev</a>
          <p>
            xcb-proto-1.13
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="x7lib.html" title="Xorg Libraries">Next</a>
          <p>
            Xorg Libraries
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="installing.html" title=
          "Chapter&nbsp;24.&nbsp;X Window System Environment">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
